option(ENABLE_TEST_BACKEND_TEXTLABEL "Enable Textlabel Tests" ON)

if (ENABLE_TEST_BACKEND_TEXTLABEL)
add_executable (TextLabelTest TextLabelTest.cpp)

target_link_libraries(TextLabelTest labplot2backendlib labplot2lib labplot2nsllib labplot2test)

add_test(NAME TextLabelTest COMMAND TextLabelTest)
endif()
